//
//  MBCommonMethod.h
//  房源详情-小区详情
//
//  Created by MB__Lee on 2018/5/28.
//  Copyright © 2018年 MB__Lee. All rights reserved.
/*
 用来跳转到各个控制器
 */

#import <UIKit/UIKit.h>

@interface MBCommonMethod : NSObject


//通用跳转方法
+(void)CommonMethod_PresentOriginalViewController:(UIViewController *)original presentViewController:(UIViewController *)present;

+(void)CommonMethod_PushOriginalViewController:(UIViewController *)original presentViewController:(UIViewController *)present;



// 首页-租房
-(void)CommonMethod_ZuFangPushWithIndexPath:(NSIndexPath *)indexPath viewController:(UIViewController *)vc;
// 首页-租物品
-(void)CommonMethod_ZuWuPinPushWithIndexPath:(NSIndexPath *)indexPath viewController:(UIViewController *)vc;
//  首页--租服务
-(void)CommonMethod_ZuFuWuPushWithIndexPath:(NSIndexPath *)indexPath viewController:(UIViewController *)vc;
//  首页--其他
-(void)CommonMethod_OthersPushWithIndexPath:(NSIndexPath *)indexPath viewController:(UIViewController *)vc;
@end
